/**
 * Created by clakeboy on 16/6/17.
 */
var myConfig = Object.create(require('./webpack.dev.config.js'));
myConfig.devtool = 'eval';
myConfig.debug = true;
var compiler = webpack(myConfig);
new WebpackDevServer(compiler, {
    stats: { colors: true },
    hot: true,
    historyApiFallback: false,
    contentBase: './src/',
    publicPath: '/public/dist',
    // quiet: false,
    // noInfo: false,
    inline: true,
    lazy: false,
    proxy: {
        '*': 'http://127.0.0.1:9090'
    }
}).listen(9090, 'localhost', function(err) {

});